﻿using System;
using System.Text.Json.Serialization;

namespace ORS.OrderRobot.ServiceContracts.Dtos.Api
{

	/// <summary>
	///  下单的航班信息
	/// </summary>
	public class DepatureInput
	{
        /// <summary>
        /// 航班出发日期(格式:2025/06/17)
        /// </summary>
        [JsonPropertyName("departureDate")]
        public string DepartureDate { get; set; }
        /// <summary>
        /// 航班出发时间(格式:14:07)
        /// </summary>
        [JsonPropertyName("departureTime")]
        public string DepartureTime { get; set; }
        /// <summary>
        /// 航空公司(3K:捷星亚洲航空公司)
        /// </summary>
        [JsonPropertyName("airlines")]
        public string Airlines { get; set; }
        /// <summary>
        /// 航空公司编号(3K)
        /// </summary>
        [JsonPropertyName("airlinesNo")]
        public string AirlinesNo { get; set; }
        /// <summary>
        /// 航班号:3U3964
        /// </summary>
        [JsonPropertyName("flightNo")]
        public string FlightNo { get; set; }


        [JsonPropertyName("pickupStoreCode")]
        public string PickupStoreCode { get; set; } = "00015";


        [JsonPropertyName("otherflightno")]
        public string OtherFlightNo { get; set; } = "";

        [JsonPropertyName("connectingFlight")]
        public string ConnectingFlight { get; set; } = "no";

        [JsonPropertyName("midNightFlight")]
        public string MidNightFlight { get; set; }  = "no";

        [JsonPropertyName("isOpenOtherFlight")]
        public bool IsOpenOtherFlight { get; set; } = false;

        [JsonPropertyName("otherAirlineName")]
        public string OtherAirlineName { get; set; } = "";

        [JsonPropertyName("otherFlightCode")]
        public string OtherFlightCode { get; set; } = "";

        [JsonPropertyName("agreeProductLimits")]
        public string AgreeProductLimits { get; set; } = "yes";
	}
}

